package com.trinh.utils.crypto.enu;

/**
 * @Author: TrinhRae
 * @Package: com.trinh.utils.crypto
 * @Project: generaltools
 * @Date: 2025/6/20 9:59
 */
public enum Padding {
    PKCS1("PKCS1Padding"),
    PKCS5("PKCS5Padding"),
    PKCS7("PKCS7Padding"),
    PKCS_NO_PADDING("NoPadding"),
    OAEPWITHSHA_1ANDMGF1_PADDING("OAEPWithSHA-1AndMGF1Padding"),
    OAEPWITHSHA_256ANDMGF1_PADDING("OAEPWithSHA-256AndMGF1Padding");

    private final String paddingString;
    Padding(String padding) {
        this.paddingString = padding;
    }

    public String getPaddingString(){
        return paddingString;
    }

    @Override
    public String toString() {
        return paddingString;
    }
}
